<?php
	echo "打开文件<br>";
	
	//if(!($myFile = fopen("http://xxx/data.txt", "r"))) {
	if(!($myFile = fopen("data.txt", "r"))) {
		echo "不能打开";
		exit;
	}
	
	while(!feof($myFile)) {
		$myLine = fgetss($myFile, 255);
		echo $myLine."<br>";
	}
	
	fclose($myFile);